package com.bosssoft.hr.train.spring.dao;

import com.bosssoft.hr.train.spring.demo.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wang
 * @Time: 2022/3/6
 */
public interface UserDao {
    Boolean add(User user);
    Boolean deleteById(int id);
    Boolean deleteById(ArrayList ids);
    List<User> selectByName(String name);
    User selectById(int id);
}
